package jwr;

import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.BorderLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class Ex extends JFrame{
	public Ex() {
		Container ct = getContentPane();
		ct.setLayout(new BorderLayout());
		JPanel jp = new JPanel(new FlowLayout());
		JPanel jp2 = new JPanel(new FlowLayout());
		ct.add(jp,BorderLayout.NORTH);
		ct.add(jp2,BorderLayout.SOUTH);
		jp.add(new JButton("버튼1"));
		jp.add(new JButton("버튼2"));
		jp.add(new JButton("버튼3"));
		jp2.add(new JButton("버튼4"));
		jp2.add(new JButton("버튼5"));
	}
}
